\documentclass[12pt,openany]{ctexbook}
\usepackage{amsmath,amssymb}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{geometry}
\usepackage{minitoc}
\dominitoc
\geometry{a4paper,margin=25mm}
\hypersetup{
  colorlinks=true,
  linkcolor=blue,
  urlcolor=teal,
  citecolor=magenta
}

\begin{document}
\mainmatter
%\tableofcontents
%\clearpage
\input{lecture_mcmc_mh.tex}
\end{document}
